package com.yunkss.eftool.crypto.params;

/**
 * @author csx
 * @date 2022/2/18 8:49
 * @desc
 */

public enum CisAlgorithm {
    ALGORITHM_SHA1_WITH_RSA_FOR_NAME("SHA1withRSA", 0),
    ALGORITHM_SM4_FOR_NAME("SM4", 0),
    ALGORITHM_RSA_FOR_NAME("RSA", 0),
    ALGORITHM_AES_ECB_PKCS5PADDING("AES/ECB/PKCS5Padding", 0),
    ALGORITHM_SM4_ECB_PADDING("SM4/ECB/PKCS5Padding", 0),
    ALGORITHM_SM4_CBC_PADDING("SM4/CBC/PKCS5Padding", 0);

    private String name;
    private int value;

    private CisAlgorithm(String name, int value) {
        this.name = name;
        this.value = value;
    }

    public String getName() {
        return this.name;
    }

    public int getValue() {
        return this.value;
    }
}

